﻿using System;

namespace Me.Framework.Xml.XmlAttr
{
    [AttributeUsage(AttributeTargets.Property|AttributeTargets.Class)]
    public class NodeNameAttribute : Attribute
    {
        private string _Name { get; set; }

        public NodeNameAttribute(string nodeName)
        {
            this._Name = nodeName;
        }

        public string Name
        {
            get
            {
                return this._Name;
            }
        }
    }
}
